package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TMarketingRelevantExample;
import com.xingkeduo.model.po.TMarketingRelevant;

public interface TMarketingRelevantMapper {
    int countByExample(TMarketingRelevantExample example);

    int deleteByExample(TMarketingRelevantExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingRelevant record);

    int insertSelective(TMarketingRelevant record);

    List<TMarketingRelevant> selectByExample(TMarketingRelevantExample example);

    TMarketingRelevant selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingRelevant record, @Param("example") TMarketingRelevantExample example);

    int updateByExample(@Param("record") TMarketingRelevant record, @Param("example") TMarketingRelevantExample example);

    int updateByPrimaryKeySelective(TMarketingRelevant record);

    int updateByPrimaryKey(TMarketingRelevant record);
}